package com.oocl.oopdemo.finalDemo;

public class Hero {

	private String name;
	private String technical;
	private int red;
	private int blue;
	
//	内部类，对private的name等可见
	class Monitor{
		public void show(){
			System.out.println(name+technical);
		}
	}
}
